#!/usr/bin/env python3
"""启动后端服务脚本"""

import uvicorn
from config.settings import config

if __name__ == "__main__":
    uvicorn.run(
        "api.main:app",
        host=config.api.host,
        port=config.api.port,
        reload=config.api.debug,
        log_level="debug" if config.api.debug else "info"
    )
